package com.mwh.yuantu.dao.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mwh.yuantu.entity.QiniuInfoEntity;
import org.apache.ibatis.annotations.Param;

/**
 * (QiniuInfo)表数据库访问层
 *
 * @author maweihong
 * @since 2023-11-01 09:47:31
 */
public interface QiniuInfoMapper extends BaseMapper<QiniuInfoEntity> {

    /**
     * 查询指定类型的配置
     * @param type 类型
     * @return
     */
    QiniuInfoEntity selectByType(String type);

    /**
     * 根据类型更新
     * @param qiniuInfo
     * @return
     */
    int update(QiniuInfoEntity qiniuInfo);
}
